<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="javax.servlet.http.Cookie" %>    
<%@ page import="java.net.*" %>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户个人查询</title>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/style.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/css/common.css'/>">
<style type="text/css">
td, th {
	padding: 5px;
	height:40px;
}
#tab1{
	margin-top:60px;
}
#tab{
	width:90%;
	border:0;
	text-align:center;
	background-color:#666666;
	margin:10px auto;
}
</style>
</head>
<body>
	<div class="m-right">
		<div class="right-nav">
			<ul>
				<li><img src="../public/images/home.png"></li>
				<li style="margin-left: 25px;">您当前的位置：</li>
				<li><a href="#">查询</a></li>
				<li>&gt;</li>
				<li><a href="#">用户个人查询</a></li>
			</ul>
		</div>
		<div class="main">
			<div id="tab1">
				<table id="tab" cellpadding="0" cellspacing="1">
					<tr>
						<th bgcolor="#FFFFFF">论题编号</th>
						<th bgcolor="#FFFFFF">论题名称</th>
						<th bgcolor="#FFFFFF">状态</th>
					</tr>
					<c:forEach items="${requestScope.thesises }" var="thesis">
						<tr>
							<th bgcolor="#FFFFFF">${thesis.thesisId }</th>
							<th bgcolor="#FFFFFF">${thesis.thesisName }</th>
							<!-- -1：审核失败，0：等待初审，1：初审通过，2：审核通过 -->
							<th bgcolor="#FFFFFF">${thesis.thesisStatus== 1 ?"初审通过":thesis.thesisStatus == -1 ? "审核失败" : thesis.thesisStatus == 0 ? "等待初审":"审核通过" }</th>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
</body>
</html>
